import { ILoginState } from './login/types'

// 定义根模块的类型
export interface IRootState {
  name: string
  age: number
}

export interface IRootWithModule {
  login: ILoginState
}

// 交叉类型接口，相当于合并连个接口
export type IStoreType = IRootState & IRootWithModule
